//
//  UIFont+Ext.h
//  Excellence
//
//  Created by 帝云科技 on 2017/6/19.
//  Copyright © 2017年 diyunkeji. All rights reserved.
//

#import <UIKit/UIKit.h>

//TrebuchetMS-Bold

//#define  XHQ_FONT(aSize) [UIFont fontWithName:@"Avenir-Book" size:aSize]
//#define  XHQ_FONTBOLD(aSize) [UIFont fontWithName:@"Avenir-Medium" size:aSize]

//#define  XHQ_FONT(aSize)        XHQ_AUTO_FONT(aSize)
//#define  XHQ_FONTBOLD(aSize)  XHQ_AUTO_FONTBOLD(aSize)
//#define  XHQ_AUTO_FONT(aSize)         [UIFont fontWithName:@"Avenir-Book" size:BILIWIDTH(aSize)]
//#define  XHQ_AUTO_FONTBOLD(aSize)   [UIFont fontWithName:@"Avenir-Medium" size:BILIWIDTH(aSize)]

#define  XHQ_FONT(aSize) [UIFont systemFontOfSize:aSize]
#define  XHQ_FONTBOLD(aSize) [UIFont boldSystemFontOfSize:aSize]
#define  XHQ_AUTO_FONT(aSize) [UIFont systemFontOfSize:BILIWIDTH(aSize)]
#define  XHQ_AUTO_FONTBOLD(aSize) [UIFont boldSystemFontOfSize:BILIWIDTH(aSize)]


@interface UIFont (Ext)

+ (instancetype)xhq_font18;
+ (instancetype)xhq_font17;
+ (instancetype)xhq_font16;
+ (instancetype)xhq_font15;
+ (instancetype)xhq_font14;
+ (instancetype)xhq_font13;
+ (instancetype)xhq_font12;
+ (instancetype)xhq_font10;
+ (instancetype)xhq_font8;

@end
